package org.aeon.heroicsagatextedition.game.Backup;

import org.aeon.heroicsagatextedition.role.product.RoleUnit;

import java.util.Deque;

/**
 * @projectName: HeroicSagaTextEdition
 * @package: org.aeon.heroicsagatextedition.game.Backup
 * @className: Memento
 * @author: MissingAeon
 * @date: 2023/12/25 12:20
 * @description: 游戏存档记录
 */
record Memento(Deque<RoleUnit> roles, int recordCount) {
    public Deque<RoleUnit> getRoles() {
        return roles;
    }

    public int getRecordCount() {
        return recordCount;
    }
}
